package com.charger.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName QChargerStation
 * @Description TODO
 * @Author QinKunPeng
 * @Date 2024年11月26日 8:55
 * @Version 1.0
 */
@Data
@TableName("chargingstation")
public class QChargerStation implements Serializable {
    @TableId(type = IdType.AUTO, value = "chargingStation_id")
    private Long id;

    @TableField(value = "siteName")
    private String sitename;

    @TableField(exist = false)
    private List<QCharger> chargers;

    @TableField(value = "address")
    private String address;
}
